﻿// Copyright (c)  MOKEYISH. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

namespace NSQL.LogicalResource
{
    public class LogicalColumn : ILogicalColumn
    {
        public ILogicalDatabase Database => Table?.Database;
        public ILogicalSchema Schema => Table?.Schema;
        public ILogicalTable Table { get; set;}
        public int Id { get; set; }
        public string Name { get;  set;}
        public string DataType { get; set;}
        public string Expr { get; set;}
    }
}